//
// Created by sri01 on 2025/11/5.
//

#ifndef D_MATH_H
#define D_MATH_H

#define M_PI3         (1.047197551196597f)
#define M_PI          (3.14159265358979323846f)    // 圆周率
#define M_2PI         (6.28318530717958647692f)    // 2倍圆周率
#define M_3PI_2       4.71238898038469f            // 3/2倍圆周率
#define ONE_BY_SQRT2  (0.7071067811865475f)        // 1除以2的平方根
#define TWO_BY_SQRT3  (1.15470053838f)             // 2除以3的平方根
#define ANGLE_TO_ADIN (0.0174532925199432957692f)  // 角度值转化弧度制系数
#define SQRT3         (1.7320508075688772935f)     // 3的平方根
#define ONE_BY_SQRT3  (0.57735026919f)             // 1除以3的平方根

#endif  // D_MATH_H
